/**
 * 
 */
package nullby.omnia.model;

import nullby.common.model.BaseModel;

import org.json.JSONObject;

import android.database.Cursor;
import android.os.Parcel;

/**
 * @author Sergey Bandysik
 * 
 */
public final class Napravlenie extends BaseModel {
	private static final String TAG = Napravlenie.class.getSimpleName();

	private Integer id;
	private String lang_original;
	private String lang_perevod;

	/**
	 * 
	 */
	public Napravlenie() {
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param json
	 */
	public Napravlenie(String json) {
		super(json);
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param json
	 */
	public Napravlenie(JSONObject json) {
		super(json);
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param in
	 */
	public Napravlenie(Parcel in) {
		super(in);
		// TODO Auto-generated constructor stub
	}

	public Napravlenie(Cursor cursor) {
		lang_original = cursor.getString(0);
		lang_perevod = cursor.getString(1);
	}

	@Override
	public String toString() {
		return lang_original + " - " + lang_perevod;
	}

}
